# /usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2022/1/11 13:59
# @Author  : lt
# @Email   : lt@163.com
# @File    : lianxiren_page.py
# @Software: PyCharm
from selenium.webdriver.common.by import By
from page.KHGL_page.Base_Page import BasePage
from selenium.webdriver.support.select import Select
class Lianxi_Page(BasePage):
    # 定位添加联系人
    add_lianxiren = (By.CSS_SELECTOR, 'body > div.container > div.row > div:nth-child(1) > div > a > i')
    #点击新建联系人
    def add_lianxi(self):
        self.driver.find_element(*self.add_lianxiren).click()